CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)

GAddSource(GComponent.cpp				LISTS SourceList)
GAddSource(GComponent.h 				LISTS SourceList HeaderList)

GAddSource(GComponentInput.cpp			LISTS SourceList)
GAddSource(GComponentInput.h 			LISTS SourceList HeaderList)

GAddSource(GComponentScene.cpp			LISTS SourceList)
GAddSource(GComponentScene.h 			LISTS SourceList HeaderList)



GAddLibrary(GComponent HEADERS ${HeaderList} SOURCES ${SourceList})

GLinkLibrary(GComponent LIBS GGraphic GPhysic GSound GInput GNetwork)

GGroupProject(GComponent "Engine")